home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C++ / Applications / Nuntius 1.2 / src / Nuntius / UPreferencesView.h < prev    next >
Encoding:
Text File  |  1994-02-20  |  980 b   |  41 lines  |  [TEXT/MPS ]

  1. // Copyright © 1992 Peter Speck, speck@dat.ruc.dk. All rights reserved.
  2. // UPreferencesView.h
  3.  
  4. #define __UPREFERENCESVIEW__
  5.  
  6. #ifndef __UDIALOG__
  7. #include <UDialog.h>
  8. #endif
  9.  
  10. void DoMiscPreferencesDialog();
  11. void DoYourNamePreferencesDialog();
  12. void DoNewsServerPreferencesDialog(); // creates it, and all that stuff...
  13. void DoBinariesPreferencesDialog();
  14. void DoEditorPreferencesDialog();
  15. void DoMailerPreferencesDialog();
  16.  
  17. class TPrefRammeView : public TView
  18. {
  19.     public:
  20.         virtual pascal void Draw(const VRect &area);
  21.  
  22.         TPrefRammeView();
  23.         virtual pascal void Initialize();
  24.         virtual pascal void ReadFields(TStream *aStream);
  25.         virtual void pascal Free();
  26.     protected:
  27.         CStr255 fText;
  28.         TextStyle fTextStyle;
  29.         short fRammeVertOffset;
  30.         short fTextHorzOffset;
  31.         short fTextVertOffset;
  32. };
  33.  
  34. class TMailerPrefDialogView : public TDialogView
  35. {
  36.     public:
  37.         virtual pascal void DoEvent(EventNumber eventNumber, TEventHandler *source,
  38.                                 TEvent *event);
  39.  
  40.         TMailerPrefDialogView();
  41. };